/*
 * Powered By 
 * Since 2010 - 2016
 */

package com.rf.sys.service;

import java.util.List;
import java.util.Map;

import com.rf.sys.utils.PageUtils;
import com.rf.sys.model.SysLog;

public interface SysLogService{
	
	/**
	 * 根据id获取数据
	 * @param sysLogId
	 * @return SysLog
	 */
	public SysLog getSysLogByID(String id) throws Exception;
	
	/**
	 * 根据SysLog获取数据
	 * @param SysLog
	 * @return List<SysLog>
	 */
	public List<SysLog> getSysLog(SysLog sysLog) throws Exception;
	
	/**
	 * 获取所有数据
	 * @param 
	 * @return List<SysLog>
	 */
	public List<SysLog> getSysLog() throws Exception;
	
	/**
	 * 保存信息
	 * @param SysLog
	 * @return
	 */
	public void addSysLog(SysLog sysLog) throws Exception;
	
	/**
	 * 修改数据
	 * @param SysLog
	 * @return
	 */
	public void updateSysLog(SysLog sysLog) throws Exception;
	
	/**
	 * 删除数据
	 * @param sysLogId
	 * @return
	 */
	public void deleteSysLog(String id) throws Exception;
	
	/**
	 * 获取数据分页
	 * @param SysLog
	 * @param pageUtils
	 * @return Map
	 */
	public Map getSysLogPage(SysLog sysLog,PageUtils pageUtils) throws Exception;
	
	/**
	 * 获取日志分页
	 * @param SysLog
	 * @param pageUtils
	 * @return Map
	 */
	public Map getSysLogsPage(SysLog sysLog,PageUtils pageUtils) throws Exception;
}
